package com.itheima.sh;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;

/**
 * @author: 飞羽鸿蒙
 * @date: 2020/12/21 20:04
 */
@SpringBootApplication
@EnableConfigServer  // 开启ConfigServer功能: 统一配置文件服务
@EnableDiscoveryClient // 开启Eureka功能
public class ConfigServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ConfigServerApplication.class, args);
    }

}
